#!/bin/bash
set -e
set -x
MYDIR="${0%/*}"
cd "$MYDIR/.."
source "recipes/common.sh"


# RECIPE START flex
# depends: flex-native

reset_mtime flex flex/configure.ac
mkdir -p build/flex
cd build/flex
../../flex/configure \
	${CONFIGURE_ARGS} \
	--disable-bootstrap \
	--disable-shared \
	${AUTOCRAP_KLUDGE}

cd ../..
make_build build/flex

# RECIPE END flex
